home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_200
/
287_01
/
global.c
< prev
next >
Wrap
Text File
|
1989-05-23
|
896b
|
31 lines
#include <stdio.h>
#include <gds.h>
#include <prtfont.h>
unsigned int DOTVALUE[] =
{
0x0080, 0x0040, 0x0020, 0x0010, 0x0008, 0x0004, 0x0002, 0x0001,
0x8000, 0x4000, 0x2000, 0x1000, 0x0800, 0x0400, 0x0200, 0x0100 };
unsigned int LEFTWORD[] =
{
0xffff, 0xff7f, 0xff3f, 0xff1f, 0xff0f, 0xff07, 0xff03, 0xff01,
0xff00, 0x7f00, 0x3f00, 0x1f00, 0x0f00, 0x0700, 0x0300, 0x0100,
0x0000 };
unsigned int RIGHTWORD[] =
{
0x0000, 0x0080, 0x00c0, 0x00e0, 0x00f0, 0x00f8, 0x00fc, 0x00fe,
0x00ff, 0x80ff, 0xc0ff, 0xe0ff, 0xf0ff, 0xf8ff, 0xfcff, 0xfeff,
0xffff };
int CUR_FRAME = 0, CUR_PLOT = 0;
unsigned int STYLE = ~0;
int LASTX, LASTY, LASTX2, LASTY2, ARCSPEC;
int TEN_MS=333;
int ARCSTTX, ARCSTTY, ARCENDX, ARCENDY, ARCSTTR, ARCENDR;
void (*PRE_ERROR_FUNC)(), (*POST_ERROR_FUNC)();
int PRE_ERROR_LEVEL=1000, POST_ERROR_LEVEL=1000;